package com.guodu.dao;

import java.util.List;


import com.guodu.entity.SupplierRedTwo;
import com.guodu.entity.SupplierRedTwoStatus;
import com.guodu.entity.Units;
import com.guodu.vo.SupplierRedTwoQueryVo;

public interface SupplierRedTwoDao {
	public int findSizeByVo(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	public List<SupplierRedTwo> findByVo(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units,
			int curPage, int pageSize);
	public List<SupplierRedTwo> downLoad(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	
	public void examinAll(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	
	public void save(SupplierRedTwo supplierRedTwo);
	void examine(String ids, Long status);
	void delByIds(String[] ids);
	
	public SupplierRedTwo findById(String id);
	
	public void update(SupplierRedTwo supplierRedTwo);
	
	public void changeStatus(List<SupplierRedTwoStatus> supplierRedTwoStatusList);
	
	public List<SupplierRedTwoStatus> findStatus(String id);
	
	public void deleteById(String id,String fileUrl);
}
